﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Azure.WebJobs;
using Microsoft.WindowsAzure;
using Microsoft.SharePoint.Client;
using System.Security;

namespace WebJobAsTimerService
{
    public class Functions
    {
        public void ProcessEmailList()
        {
            //Create Configuration
            IConfiguration configuration = new WebJobConfiguration();

            //Create processor
            var emailListProcessor = new SharePointListProcessor(configuration);

            //Call process method
            emailListProcessor.Process();
        }
    }
}
